home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / PC Card Manager / CIncludes / DeviceManagerSupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-13  |  1.8 KB  |  83 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        DeviceManagerSupport.h
  3.  
  4.      Contains:    Device Manager Interfaces.
  5.  
  6.      Version:    Sustem 7.5 and 8
  7.  
  8.      DRI:        Larry Chiu
  9.  
  10.      Copyright:    © 1984-1996 by Apple Computer, Inc.
  11.                  All rights reserved.
  12.  
  13.      Warning:    *** APPLE INTERNAL USE ONLY ***
  14.                  This file may contain unreleased API's
  15.  
  16.      BuildInfo:    Built by:            SuperMario Build Daemon
  17.                  With Interfacer:    2.0d10   (PowerPC native)
  18.                  From:                DeviceManagerSupport.i
  19.                      Revision:        3
  20.                      Dated:            1/24/96
  21.                      Last change by:    lch
  22.                      Last comment:    Add INIT_DSL and TERM_DSL as export.
  23.  
  24.      Bugs:        Report bugs to Radar component “System Interfaces”, “Latest”
  25.                  List the version information (from above) in the Problem Description.
  26.  
  27. */
  28. #ifndef __DEVICEMANAGERSUPPORT__
  29. #define __DEVICEMANAGERSUPPORT__
  30.  
  31. #ifndef __CONDITIONALMACROS__
  32. #include <ConditionalMacros.h>
  33. #endif
  34. #ifndef __TYPES__
  35. #include <Types.h>
  36. #endif
  37. #ifndef __DEVICES__
  38. #include <Devices.h>
  39. #endif
  40. #ifndef __CODEFRAGMENTS__
  41. #include <CodeFragments.h>
  42. #endif
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48. #if PRAGMA_IMPORT_SUPPORTED
  49. #pragma import on
  50. #endif
  51.  
  52. #if PRAGMA_ALIGN_SUPPORTED
  53. #pragma options align=mac68k
  54. #endif
  55.  
  56. /* callback function to family from IOCommandIsComplete*/
  57. typedef OSErr (*IOCompleteEntryPointPtr)(IOCommandID ID, OSErr result, ParmBlkPtr thePB);
  58. extern OSErr RegisterDoDriverIO(IOCommandID *theID, ParmBlkPtr thePB, IOCompleteEntryPointPtr returnAddr);
  59.  
  60. extern OSErr IOCommandIsComplete(IOCommandID theID, OSErr theResult);
  61.  
  62. extern OSErr GetIOCommandInfo(IOCommandID theID, IOCommandContents *theContents, IOCommandCode *theCommand, IOCommandKind *theKind);
  63.  
  64. extern OSErr INIT_DSL(CFragInitBlockPtr theCFMInitBlockPtr);
  65.  
  66. extern void TERM_DSL(void );
  67.  
  68.  
  69. #if PRAGMA_ALIGN_SUPPORTED
  70. #pragma options align=reset
  71. #endif
  72.  
  73. #if PRAGMA_IMPORT_SUPPORTED
  74. #pragma import off
  75. #endif
  76.  
  77. #ifdef __cplusplus
  78. }
  79. #endif
  80.  
  81. #endif /* __DEVICEMANAGERSUPPORT__ */
  82.  
  83.